import http from "@/api/axios";

export const getListApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/fin/biz/margin/queryPage",
    data
  });
};

//批量导出
export const exportExcelApi = (data: Base.GeneraDataType) => {
  return http({
    method: "post",
    url: "/export/biz/exportExcel/marginExcel",
    data
  });
};
